//
//  UIButton+edging.m
//  ROCOMO
//
//  Created by apple03 on 2016/11/26.
//  Copyright © 2016年 ROCOMO. All rights reserved.
//

#import "UIButton+edging.h"

@implementation UIButton (edging)

- (void)addGlowBorder {
    UIColor *orangeColor = [UIColor colorWithRed:255.0/255 green:165.0/255 blue:0.0/255 alpha:1];
    self.layer.borderWidth = 1;
    self.layer.borderColor = orangeColor.CGColor;
//    self.layer.shadowOpacity = 1;
//    self.layer.shadowOffset = CGSizeMake(0, 0);
//    self.layer.shadowColor = orangeColor.CGColor;
}

- (void)addGlowBorder1 {
    UIColor *orangeColor = [UIColor greenColor];
    self.layer.borderWidth = 1;
    self.layer.borderColor = orangeColor.CGColor;
    //    self.layer.shadowOpacity = 1;
    //    self.layer.shadowOffset = CGSizeMake(0, 0);
    //    self.layer.shadowColor = orangeColor.CGColor;
}

@end
